@border-color: #eee;
@header-text: #777;

.contacts {
  background-color: #fff;
  box-shadow: 1px 0 3px #ddd;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  max-width: 450px;
  min-width: 300px;
  position: relative;
  width: 30vw;
  z-index: 1;

  & > header {
    display: flex;
  }

  & > main {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
  }
}

.transfer-wrap {
  overflow: hidden;
  :global(.ant-collapse-item) {
    border-bottom: 1px solid @border-color;
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  :global(.ant-collapse-item) > :global(.ant-collapse-header) {
    color: @header-text;
    font-size: 13px;
    padding: 10px 40px 10px 14px;
    user-select: none;
    &:hover {
      background-color: #f0f0f0;
    }
  }
  :global(.ant-collapse-item) > :global(.ant-collapse-content) {
    background-color: #fff;
    border-top: 1px solid @border-color;
    overflow: auto;
    & > :global(.ant-collapse-content-box) {
      padding: 0;
    }
  }
}

.externals-header {
  background-color: #fafafa;
  border-bottom: 1px solid @border-color;
  color: @header-text;
  font-size: 13px;
  padding: 9px 14px;
}

.contacts-wrap {
  flex: 1;
  min-height: 40vh;
  position: relative;
}

.warns-enter {
  align-items: center;
  background-color: #fffbe6;
  border: 1px solid #fff1b8;
  color: rgba(0, 0, 0, 0.88);
  cursor: pointer;
  display: flex;
  line-height: 1;
  padding: 12px;
  .info {
    color: #faad14;
    margin-right: 9px;
  }
  .txt {
    flex: 1;
  }
  .count {
    margin-right: 12px;
  }
  .arrow {
    color: #999999;
  }
}
